projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00d5d5c
)
x86/hvm: print register state upon triple fault
author
Andrew Cooper
<andrew.cooper3@citrix.com>
Thu, 25 Feb 2016 12:02:29 +0000
(13:02 +0100)
committer
Jan Beulich
<jbeulich@suse.com>
Thu, 25 Feb 2016 12:02:29 +0000
(13:02 +0100)
A sample looks like:
(XEN) d1v0 Triple fault - invoking HVM shutdown action 1
(XEN) *** Dumping Dom1 vcpu#0 state: ***
(XEN) ----[ Xen-4.7-unstable x86_64 debug=y Not tainted ]----
(XEN) CPU: 2
(XEN) RIP: 0000:[<
0000000000100005
>]
(XEN) RFLAGS:
0000000000010002
CONTEXT: hvm guest (d1v0)
(XEN) rax:
0000000000000020
rbx:
0000000000000000
rcx:
0000000000000000
(XEN) rdx:
0000000000000000
rsi:
0000000000000000
rdi:
0000000000000000
(XEN) rbp:
0000000000000000
rsp:
0000000000000000
r8:
0000000000000000
(XEN) r9:
0000000000000000
r10:
0000000000000000
r11:
0000000000000000
(XEN) r12:
0000000000000000
r13:
0000000000000000
r14:
0000000000000000
(XEN) r15:
0000000000000000
cr0:
0000000000000011
cr4:
0000000000000000
(XEN) cr3:
0000000000000000
cr2:
0000000000000000
(XEN) ds: 0000 es: 0000 fs: 0000 gs: 0000 ss: 0000 cs: 0000
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/hvm.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/hvm/hvm.c
b/xen/arch/x86/hvm/hvm.c
index 556071cff1fb44552ee5813e9c95db69a8458507..f46d53c2a49bce7a6ed4e26d5e24429419aff941 100644
(file)
--- a/
xen/arch/x86/hvm/hvm.c
+++ b/
xen/arch/x86/hvm/hvm.c
@@
-2890,6
+2890,7
@@
void hvm_triple_fault(void)
gprintk(XENLOG_INFO,
"Triple fault - invoking HVM shutdown action %d\n",
reason);
+ vcpu_show_execution_state(v);
domain_shutdown(d, reason);
}